﻿<%@ Page Title="Settings" Language="C#" MasterPageFile="~/masterpage.master" AutoEventWireup="true"
    CodeFile="Settings.aspx.cs" Inherits="Settings" %>

<%@ Register Src="ucLetters.ascx" TagName="ucLetters" TagPrefix="uc2" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" type="text/css" href="css/admin.css" />
    <script language="javascript" type="text/javascript">
        var controldivname = 'ctl00_ContentPlaceHolder1_rgStudents';
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="95%">
        <tr>
            <td colspan="2">
                <div class="clr">
                </div>
            </td>
        </tr>
    </table>
    <table style="width: 700px; font-family:Arial, Sans-Serif; font-size:11px;">
        <tr>
            <td align="center">
                <asp:Panel ID="pnlEmailDelivery" runat="server" Height="300px" Width="756px" GroupingText="Email Delivery"
                    HorizontalAlign="Left" >
                    <table style="height:100px">
                        <tr>
                            <td valign="middle">
                                <asp:Panel ID="pnlNextDelivery" runat="server" Height="80px" Width="500px" GroupingText="Next Delivery Date/Time:"
                                    HorizontalAlign="Left">
                                    <table style="height:46px;">
                                        <tr>
                                            <td valign="middle">
                                                <asp:RadioButton ID="rbtnDate" runat="server" Checked="true" GroupName="DeliveryDate" />
                                            </td>
                                            <td valign="middle">
                                                Date:
                                            </td>
                                            <td valign="middle">
                                                <telerik:RadDatePicker ID="radDP_Date" runat="server" ZIndex="30001" Width="80px" 
                                                    Culture="en-US"  >
                                                    <DatePopupButton ImageUrl="~/Images/calendar.jpg" HoverImageUrl="~/Images/calendar.jpg" />
                                                </telerik:RadDatePicker>
                                            </td>
                                            <td style="width:80px;" align="right" valign="middle">
                                                Time:
                                            </td>
                                            <td valign="middle">
                                            <asp:TextBox ID="txtHour" runat="server" Width="25px"></asp:TextBox>
                                            </td>
                                            <td valign="middle">
                                            :
                                            </td>
                                            <td valign="middle">
                                            <asp:TextBox ID="txtMinute" runat="server" Width="25px"></asp:TextBox>
                                            </td>
                                            <td style="width:80px;" align="right" valign="middle">
                                                <asp:RadioButton ID="rbtnDateNow" runat="server" GroupName="DeliveryDate" Text="Now" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                            <td valign="middle">
                            Frequency:
                            </td>
                            <td valign="middle">
                                <asp:DropDownList ID="ddlFrequency" runat="server" Width="120px" Height="22px" Font-Size="12px">
                                <asp:ListItem Value="1">Every day</asp:ListItem>
                                <asp:ListItem Value="2">Every week</asp:ListItem>
                                <asp:ListItem Value="3" Selected="True">Every 2 weeks</asp:ListItem>
                                <asp:ListItem Value="4">Every month</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td valign="middle" style="height:23px;">
                                <asp:Image ID="imgSave" runat="server" Width="16" Height="16" style="vertical-align:middle;" ImageUrl="~/Images/floppy_disk_48.png" />
                                <asp:LinkButton ID="lbtnSave" runat="server" Text="Save" 
									onclick="lbtnSave_Click" />&nbsp;
                                <asp:Image ID="imgCancel" runat="server" Width="16" Height="16" style="vertical-align:middle;" ImageUrl="~/Images/24_24-delete-icon.png" />
                                <asp:LinkButton ID="lbtnCancel" runat="server" Text="Cancel" 
									onclick="lbtnCancel_Click" />
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                </telerik:RadScriptManager>
                <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
                    <AjaxSettings>
                        <telerik:AjaxSetting AjaxControlID="radDP_Date">
                            <UpdatedControls>
                                <telerik:AjaxUpdatedControl ControlID="radDP_Date" />
                            </UpdatedControls>
                        </telerik:AjaxSetting>
                    </AjaxSettings>
                </telerik:RadAjaxManager>
          
            </td>
        </tr>
    </table>
</asp:Content>
